package org.cjlm.ui.pub;

import javax.swing.*;
import java.awt.*;

public class MTextField extends JTextField {
    public MTextField() {
        super();
        Dimension size = new Dimension(250, 25);
        setPreferredSize(size);
        setMinimumSize(size);
        setMaximumSize(size); // 关键：锁定最大尺寸
    }
}
